<?php
/**
 * Created by PhpStorm.
 * User: Mak
 * Date: 2016/3/12
 * Time: 1:45
 */


//统计已经报名人数
function sumPeo($title){
    $stuenroll=M("stuenroll");
    $num=$stuenroll->where("enroll='{$title}'")->count();
    return $num;
}